Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent unload dialogs (...from preventing .end()) #825

Merged

Conversation

Fauntleroy
Copy link
Contributor

Earlier today I ran into this issue: #824

I resolved it by creating a modified preload.js that prevents the browser from setting any unload or beforeunload handlers. This pull request includes my modified preload.js along with two tests that ensure that it works.

@rosshinkley
Copy link
Contributor

This looks like the same issue that alert, confirm, etc poses. I'll fix the test conflict and pull it in.

@rosshinkley rosshinkley merged commit 379eaed into segment-boneyard:master Dec 17, 2016
MasterOdin added a commit to MasterOdin/simulant that referenced this pull request Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants